﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

namespace $safeprojectname$
{
    /// <summary>
    ///     Setter for protected ID property. Alternative to reflection.
    ///     This is suitable mainly for enitities without identity. 
    ///     (e.g. CodeLists with small or tiny int as the SQL column type, or XML files)
    /// </summary>
    public interface ISetID<in TID>
    {
        /// <summary>
        /// Sets the Entity ID with passed value
        /// </summary>
        /// <param name="id"></param>
        void SetID(TID id);
    }
}